//
//  LongriseAppDelegate.h
//  HttpDemo
//
//  Created by 程三 on 17/5/27.
//  Copyright © 2017年 程三. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LongriseAppDelegate : UIResponder<UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property(assign,nonatomic)int getTokenType;//1、获取Token是否成功 0、失败 －1、正在获取中

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)applicationWillEnterForeground:(UIApplication *)application;
- (void)application:(UIApplication *)application
didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
-(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo;
-(void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
-(void)registerNotification:(UIApplication *)application;
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options;
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url;
@end
